package com.neusoft.neuiotms.dcam.constant;

public class DCAMConsts {
    /** 常量code,text分隔符 */
    public static final String DICTIONARY_SPLITOR = "_";
    /** 资产表导出表头------------------------------------start */
    public static final String ASSET_NAME = "名称";
    public static final String ASSET_CODE = "编码";
    public static final String ASSET_LOCATION = "位置";
    public static final String ASSET_CONTRACTITEM = "订单编号";
    public static final String ASSET_NAME_KEY = "name";
    public static final String ASSET_CODE_KEY = "code";
    public static final String ASSET_LOCATION_KEY = "location";
    public static final String ASSET_CONTRACT_KEY = "contract";

    /** 导出模板校验 **/
    public static final String[] ASSET_EXPORT_CONSTRAINT = {
            DCAMConsts.ASSET_CATEGORIED_KEY, DCAMConsts.ASSET_ASSET_TYPE_NAME_KEY,
            DCAMConsts.ASSET_VALUE_TYPE_NAME_KEY, DCAMConsts.ASSET_SOURCE,
            DCAMConsts.ASSET_STATUS, DCAMConsts.ASSET_USE_DEPT_KEY,
            DCAMConsts.ASSET_MANAGE_DEPT_KEY,
            DCAMConsts.ASSET_SUBMMIT_TO_KEY,
            DCAMConsts.ASSET_SECOND_DEPT_KEY,
            DCAMConsts.ASSET_THIRD_DEPT_KEY,
            DCAMConsts.ASSET_DOCUMENT_ALL_KEY,
            DCAMConsts.ASSET_SCRAPPED_KEY,
            DCAMConsts.ASSET_RUNNING_KEY };
    /** 资产模板导出添加下拉框默认最大行数 */
    public static final Integer ASSET_CONSTRAINT_ROW = 65535;
    /** 资产模板导出添加下拉框默认开始行数 */
    public static final Integer ASSET_START_CONSTRAINT_ROW = 2;
    /** 资产模板导出添加下拉框默认合同列 */
    public static final Integer ASSET_CONSTRAINT_CONTRACT_COL = 5;

    /** 资产大类KEY **/
    public static final String ASSET_CATEGORIED_KEY = "categories";
    public static final Integer ASSET_CONSTRAINT_CATEGORIED_COL = 3;

    /** 资产小类KEY **/
    public static final String ASSET_ASSET_TYPE_NAME_KEY = "assetTypeName";
    public static final Integer ASSET_CONSTRAINT_ASSET_TYPE_NAME_COL = 4;

    public static final String ASSET_VALUE_TYPE_NAME_KEY = "valuetype";
    public static final Integer ASSET_CONSTRAINT_ASSET_VALUE_TYPE_COL = 14;

    /** 资产来源 **/
    public static final String ASSET_SOURCE = "sourceDesc";
    public static final Integer ASSET_CONSTRAINT_SOURCE_COL = 19;

    /** 资产状态 **/
    public static final String ASSET_STATUS = "statusDesc";
    public static final Integer ASSET_CONSTRAINT_STATUS_COL = 21;

    /** 使用部门 **/
    public static final String ASSET_USE_DEPT_KEY = "useDept";
    public static final Integer ASSET_CONSTRAINT_USE_DEPT_COL = 22;

    /** 管理部门 **/
    public static final String ASSET_MANAGE_DEPT_KEY = "manageDept";
    public static final Integer ASSET_CONSTRAINT_MANAGE_DEPT_COL = 23;

    //39 43
    /** 交接文档是否齐全 isDocumentAll **/
    public static final String ASSET_DOCUMENT_ALL_KEY = "isDocumentAll";
    public static final Integer ASSET_CONSTRAINT_DOCUMENT_ALL_COL = 41;

    public static final String ASSET_SCRAPPED_KEY = "isScrapped";
    public static final Integer ASSET_CONSTRAINT_SCRAPPED_COL = 45;

    /** 通知类型 系统通知 */
    public static final String INFORM_TYPE_NOTICE = "notice";
    /** 通知类型 邮件通知 */
    public static final String INFORM_TYPE_MAIL = "email";
    /** 逗号分隔符 */
    public static final String COMMA_SPILT = ",";
    /** 资产规则编码 */
    public static final String ASSET_CODE_RULE = "ASSET_CODE";

    public static final String ASSET_USE_DEPT = "useDept";
    public static final String ASSET_MANAGE_DEPT = "manageDept";

    /** 运维组长 */
    public static final String ROLE_WORKER_GROUP_LEADER = "workerGroupLeader";
    /** 一线运维人员 */
    public static final String ROLE_WORKER = "worker";
    /** 专家 */
    public static final String ROLE_EXPERT = "expert";
    /** 呼叫中心 */
    public static final String ROLE_BACKUP = "backup";
    /*** 专家组长 ***/
    public static final String ROLE_EXPORT_LEADER = "expertGroupLeader";
    /*** 管理员 ***/
    public static final String ROLE_ADMIN = "admin";
    /*** 项目主管 ***/
    public static final String ROLE_ZONGJIAN = "zongjian";

    // 工单状态
    public static final String STR_TEMPORARY = "temporary";

    /** 备件领用工单KEY */
    public static final String SPARECONSUME_PROCESS_KEY = "spareConsume";
    /** 流程变量 运维组长审批人 */
    public static final String SPARECONSUME_PROCESS_EXECUTOR_OPERATION_TEAMLEADER = "teamLeader";
    public static final String SPARECONSUME_PROCESS_LEADER_OR_SUPERVISOR_AGREES = "leaderOrPMAgrees";

    /*** 备品备件状态 ***/
    // 入库
    public static final String STOCK_STATUS_NEW = "new";
    // 锁定
    public static final String STOCK_STATUS_LOCK = "lock";
    // 使用中
    public static final String STOCK_STATUS_USED = "used";
    public static final String UNVALIDE_STRING_VALE = "undefined";
    public static final String ASSET_STATUS_SCRAP = "scrap";

    public static final String ASSET_SUBMMIT_TO_KEY = "submmitto";
    public static final Integer ASSET_SUBMMIT_TO_COL = 28;

    public static final String ASSET_SECOND_DEPT_KEY = "secondDept";
    public static final Integer ASSET_SECONDE_DEPT_COL = 29;

    public static final String ASSET_THIRD_DEPT_KEY = "thirdDept";
    public static final Integer ASSET_THIRD_DEPT_COL = 30;
    public static final String ASSET_RUNNING_KEY = "running";
    public static final Integer ASSET_RUNNING_KEY_COL = 48;
}
